package org.example;

import java.util.ArrayList;
import java.util.List;

// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
public class Main {

    public static void main(String[] args){
        List<usrRole> stuList = new ArrayList<>();
        // Press Alt+Enter with your caret at the highlighted text to see how
        // IntelliJ IDEA suggests fixing it.
        String[] stuName = new String[4];
        stuName[0] = "Bob";
        stuName[1] = "Nancy";
        stuName[2] = "Sarah";
        stuName[3] = "C_Lady";
        // Press Shift+F10 or click the green arrow button in the gutter to run the code.
        for (int i = 0; i < 4; i++) {
            // Press Shift+F9 to start debugging your code. We have set one breakpoint
            // for you, but you can always add more by pressing Ctrl+F8.
            String tmp = "Xiao_Heizi_0";
            usrRole ur = new usrRole();
            ur.setStuId(tmp + (i + 1));
            ur.setName(stuName[i]);
            stuList.add(ur);
        }
        for (usrRole ur: stuList) {
            System.out.println(ur.getStuId()+" "+ur.getName());
        }
        
    }

}


